package com.ruoyi.wq.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.wq.domain.WqPlayOrder;
import com.ruoyi.wq.domain.vo.WqPlayOrderVO;

/**
 * 陪玩订单Service接口
 * 
 * @author ruoyi
 * @date 2023-09-11
 */
public interface IWqPlayOrderService extends IService<WqPlayOrder> {

    /**
     * 查询陪玩订单
     * 
     * @param id 陪玩订单主键
     * @return 陪玩订单
     */
    public WqPlayOrder selectWqPlayOrderById(String id);

    /**
     * 查询陪玩订单列表
     * 
     * @param wqPlayOrder 陪玩订单
     * @return 陪玩订单集合
     */
    public List<WqPlayOrder> selectWqPlayOrderList(WqPlayOrder wqPlayOrder);

    /**
     * 新增陪玩订单
     * 
     * @param wqPlayOrder 陪玩订单
     * @return 结果
     */
    public int insertWqPlayOrder(WqPlayOrder wqPlayOrder);

    /**
     * 修改陪玩订单
     * 
     * @param wqPlayOrder 陪玩订单
     * @return 结果
     */
    public int updateWqPlayOrder(WqPlayOrder wqPlayOrder);

    /**
     * 批量删除陪玩订单
     * 
     * @param ids 需要删除的陪玩订单主键集合
     * @return 结果
     */
    public int deleteWqPlayOrderByIds(String[] ids);

    /**
     * 删除陪玩订单信息
     * 
     * @param id 陪玩订单主键
     * @return 结果
     */
    public int deleteWqPlayOrderById(String id);

	public TableDataInfo getPageList(WqPlayOrderVO wqPlayOrder);

	public Long getCashByUserId(Long userId, String orderType);
}
